package kino.command;

import kino.client.KinoClient;
import kino.common.KinoConstant;

@KinoCommandEnable
public class PingCommand extends AbstractKinoCommand{
    @Override
    public String doExecute(KinoClient client, String... argv) {
        return KinoConstant.pong;
    }

    @Override
    public Integer getArgc() {
        return 0;
    }

    @Override
    public String getCommandName() {
        return "ping";
    }

    @Override
    public boolean aofFlag() {
        return false;
    }

    @Override
    public boolean hasExtParam() {
        return false;
    }
}
